
<html><HEAD>
<LINK REL=STYLESHEET HREF="default.css" TYPE="text/css">
<TITLE>
Using Query</TITLE>
</HEAD>
<BODY>

<!-- Header -->
<p class="ancestor" align="right"><A HREF="pbugp166.htm">Previous</A>&nbsp;&nbsp;<A HREF="pbugp168.htm" >Next</A>
<!-- End Header -->
<A NAME="CACHAFFD"></A><h1>Using Query</h1>
<A NAME="TI5223"></A><p>When you choose Query as the data source, you select a predefined <ACRONYM title = "sequel" >SQL</ACRONYM> <b>SELECT</b> statement
(a query) as specifying the data for your DataWindow object.</p>
<A NAME="TI5224"></A><p><img src="images/proc.gif" width=17 height=17 border=0 align="bottom" alt="Steps"> To define the data using Query:</p>
<ol><li class=fi><p>While using any of the DataWindow wizards,
click Query in the Choose Data Source dialog box, and click Next.</p><p>The Select Query dialog box displays.</p></li>
<li class=ds><p>Type the name of a query or use the Browse button
to find the query, then click Next.</p></li>
<li class=ds><p>Finish interacting with the DataWindow object wizard
as needed for the presentation style you are using.</p></li></ol>
<br><A NAME="TI5225"></A><p>To learn how to create queries, see <A HREF="pbugp173.htm#CFHECFDH">"Defining queries "</A>.</p>

